package com.open.capacity.paper.service;

import com.open.capacity.paper.vo.PaperRecordVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.open.capacity.common.exception.service.ServiceException;
import com.open.capacity.common.model.PaperRecord;
import com.open.capacity.common.web.PageResult;
import com.open.capacity.common.web.Result;

import java.util.Map;

public interface PaperRecordService extends IService<PaperRecord> {

    PageResult<PaperRecordVo> getPaperRecords(Map<String, Object> params) throws ServiceException;

    Result deletePaperRecord(Integer id,Long userid) throws ServiceException;
}
